<%@ page import="java.util.HashMap,common.CommonUtil,java.util.*,common.*,java.text.*" contentType="text/html; charset=utf-8" %>
<%@ taglib uri="/WEB-INF/commontags.tld" prefix="common" %><%--페이징처리tag--%>
<%
UserSession userSession = (UserSession)session.getAttribute("user"); 

String login_id = null;
String user_id = null;
String level = null;
String admin_ent_id = null;

if(userSession!= null){
	login_id = userSession.getLogin_id();
	user_id = userSession.getUser_id();
	level = userSession.getAdmin_level();
	admin_ent_id = userSession.getEnt_id();
}



String line_number	= CommonUtil.nvl(request.getParameter("line_number"),"10");
//페이징 처리 Start
//페이지 표시정보 받기 혹은 검색입력창
String curr_page = CommonUtil.nvl(request.getParameter("curr_page"),"1");

String one_group = CommonUtil.nvl(request.getParameter("one_group"),"10");
String total_count = CommonUtil.nvl(request.getParameter("total_count"),"0");
//페이징 처리 End

String member_id	= CommonUtil.nvl(request.getParameter("member_id"),""); 
String gubun	= CommonUtil.nvl(request.getParameter("gubun"),""); 

String member_name_print	= CommonUtil.nvl(request.getParameter("member_name_print"),""); 
String member_id_print	= CommonUtil.nvl(request.getParameter("member_id_print"),"");
%>
<jsp:include page="/jsp/common/header.jsp"></jsp:include>


<script>

//검색
function key_check(){
 //alert("키번호는 [" +event.keyCode+ "] 입니다.");
 if(event.keyCode==13){
	 go_search();
 }
}


function go_stats_list_1(){
	var frm = document.mainform;
	frm.cmd.value="member_ts_stats_1";
	frm.action = '/speaking.pb';
	frm.target= 'stats_list_1';              
	frm.submit();
}

function go_stats_list_2(){
	var frm = document.mainform;
	frm.cmd.value="member_ts_stats_2";
	frm.action = '/speaking.pb';
	frm.target= 'stats_list_2';              
	frm.submit();
}

function go_stats_list_3(){
	var frm = document.mainform;
	frm.cmd.value="member_ts_stats_3";
	frm.action = '/speaking.pb';
	frm.target= 'stats_list_3';              
	frm.submit();
}

function go_log(g){
	var frm = document.mainform;
	if(g=='first_log'){
		frm.cmd.value="member_test_first_log";
	}else if(g=='test_log'){
		frm.cmd.value="member_test_log";
	}else if(g=='opic_stat'){
		frm.cmd.value="member_opic_stats";
	}else if(g=='ts_stat'){
		frm.cmd.value="member_ts_stats";
	}
	frm.action = '/speaking.pb';
	frm.target = '_self';
	frm.submit();
	
}
</script>
<script>
function init_member(){
	go_stats_list_1();	
	go_stats_list_2();	
	go_stats_list_3();
}
window.onload = init_member;
</script>


<form name="mainform"  method="post" action = "/speaking.pb" >
<input type="hidden" name="cmd" value="">
<input type="hidden" name="member_id" value="<%=member_id %>">

<input type=hidden name=member_name_print value="<%=member_name_print %>">
<input type=hidden name=member_id_print value="<%=member_id_print %>">

<input type="hidden" name="user_id" value="<%=user_id %>">
<input type="hidden" name="gubun" value="TS">

	<div id="bodyContainer">
        <div id="contents">
        
          <div class="menu">
            <ul>
              <li><a href="#" onclick="go_log('first_log')" class="">접속로그</a></li> 
             <!-- <li><a href="#" onclick="go_log('test_log')" class="">시험로그</a></li>  -->
              <li><a href="#" onclick="go_log('opic_stat')" class="">OPIc 시험통계</a></li>
              <li><a href="#" onclick="go_log('ts_stat')" class="menuOn">T/S 시험통계</a></li>
            </ul>
          </div>
          <dl style="padding:20px 5px 5px 12px;">
         
              <dt style="padding-left:20px;font-weight:bold;font-size:14px"><%=member_name_print %>(<%=member_id_print %>)님의 T/S 시험통계 </dt>
          </dl>
          	            
          <iframe name='stats_list_1'  width='1080' height='190' SCROLLING='no' frameborder='0'></iframe>
          <iframe name='stats_list_2'  width='1080' height='470' SCROLLING='no' frameborder='0'></iframe>
          <iframe name='stats_list_3'  width='1080' height='700' SCROLLING='no' frameborder='0'></iframe>
                   
          
        </div>
      </div>



</form>

<iframe name='hidden_frm'  width='0' height='0' SCROLLING='AUTO' frameborder='0'></iframe>
<jsp:include page="/jsp/common/footer.jsp"></jsp:include>
<jsp:include page="/jsp/common/bottom.jsp"></jsp:include>
